package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SelectProTypeDaoInter;
import com.mpyy.pojo.ProductType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SelectProTypeServiceImpl
 * @Author CG
 * @date 2022-03-09
 */
@Service(value = "selectProTypeServiceImpl")
public class SelectProTypeServiceImpl implements SelectProTypeServiceInter {
    @Autowired
    @Qualifier(value = "selectProTypeDaoInter")
    private SelectProTypeDaoInter selectProTypeDaoInter;

    @Override
    public List<ProductType> selectProdoutType() {
        return selectProTypeDaoInter.selectProdouctType();
    }
}
